package org.dromara.wx.domain.vo;

import org.dromara.wx.domain.WxUserRole;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 用户和角色关联视图对象 wx_user_role
 *
 * @author yf
 * @date 2024-06-05
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WxUserRole.class)
public class WxUserRoleVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 自增编号
     */
    @ExcelProperty(value = "自增编号")
    private Integer userRoleId;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Integer userId;

    /**
     * 角色ID
     */
    @ExcelProperty(value = "角色ID")
    private Integer roleId;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

}
